package com.mano233.server.vo;

import com.mano233.server.po.FormUserEditor;
import com.mano233.server.po.User;

import java.util.List;

public class FormVo {
    private FormUserEditor updateEditor;
    private List<User> insertUserList;
    private List<User> deleteUserList;

    public FormVo(FormUserEditor updateEditor, List<User> insertUserList, List<User> deleteUserList) {
        this.updateEditor = updateEditor;
        this.insertUserList = insertUserList;
        this.deleteUserList = deleteUserList;
    }

    public FormUserEditor getUpdateEditor() {
        return updateEditor;
    }

    public void setUpdateEditor(FormUserEditor updateEditor) {
        this.updateEditor = updateEditor;
    }

    public List<User> getInsertUserList() {
        return insertUserList;
    }

    public void setInsertUserList(List<User> insertUserList) {
        this.insertUserList = insertUserList;
    }

    public List<User> getDeleteUserList() {
        return deleteUserList;
    }

    public void setDeleteUserList(List<User> deleteUserList) {
        this.deleteUserList = deleteUserList;
    }

    @Override
    public String toString() {
        return "FormVo{" +
                "updateEditor=" + updateEditor +
                ", insertUserList=" + insertUserList +
                ", deleteUserList=" + deleteUserList +
                '}';
    }
}
